build: Fix srcdir != builddir with wayland-client-protocol.h
authorColin Walters <walters@verbum.org>
Tue, 3 Sep 2013 21:48:30 +0000 (17:48 -0400)
committerColin Walters <walters@verbum.org>
Tue, 3 Sep 2013 21:52:38 +0000 (17:52 -0400)
In the gnome-ostree model builddir contains all generated files not in
git (unless the build system explicitly overrides that).  Here the
wayland-client-protocol.h was in $(builddir)/wayland, so we need to
find it using our already extant -I$(top_builddir)/gdk, rather than
relying on same-directory lookup.

gdk/wayland/gdkdisplay-wayland.h

index 42f363c9d0d1433b2b861336681662856fafac07..e090464ee38128e80632c9dbc0115fa5d9debbb8 100644 (file)
@@ -26,7 +26,7 @@
 #include <stdint.h>
 #include <wayland-client.h>
 #include <wayland-cursor.h>
-#include "gtk-shell-client-protocol.h"
+#include <gdk/wayland/gtk-shell-client-protocol.h>
 
 #include <glib.h>
 #include <gdk/gdkkeys.h>